<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>MoeServer</title>
<link type="text/css" href="./css/custom-theme/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
<link type="text/css" href="./css/moe.css" rel="stylesheet" />
<script type="application/javascript" src="./js/jquery-1.7.min.js"></script>
<script>!window.jQuery && document.write('<script src="./js/jquery-1.7.min.js"><\/script>');</script>
<script type="application/javascript" src="./js/jquery-ui-1.8.16.custom.min.js"></script>
<script>!jQuery.widget && document.write('<script src="./js/jquery-ui-1.8.16.custom.min.js"><\/script>');</script>
<script type="application/javascript" src="./js/history.js"></script>
<script>!window.ajaxHistory && document.write('<script src="./js/history.js"><\/script>');</script>
<script type="application/javascript" src="./js/moe.js"></script>
<script>!window.moe && document.write('<script src="./js/moe.js"><\/script>');</script>
</head>
<body>
<noscript>
	<div>
        Your web browser must have JavaScript enabled
        in order for this application to display correctly.
	</div>
</noscript>

<div class="navigation"><ul><li><a href="./#action=listPosts">Post</a></li><li><a href="./#action=listPools">Pool</a></li><li style="float: right"><a href="./config.html">Config</a></li></ul></div>

<div id="sidebar">
	<div id="search">
		<h5 class="ss-title ui-helper-reset"><span class="ui-icon ui-icon-plusthick"></span><a href="javascript:void(0);" >Search</a></h5>
		<div class="ss-reset ui-state-default ui-corner-all" title="Reset"><span class="ui-icon ui-icon-refresh"></span></div>
		<div class="ss-submit ui-state-default ui-corner-all" title="Search"><span class="ui-icon ui-icon-search"></span></div>
		<form id="search_form" name="search_form" action="/json" method="get">
		  <div class="ss-accordion">
			<h3><a href="#">ID</a></h3>
			<div>
			  <p>
			  <select name="id_operate_1" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge" selected="selected">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le">&lt;=</option>
			  </select>
			  <input name="id_1" type="text" style="width:160px;" maxlength="12" title="ID Number" allowed="\d||^(?:[1-9]\d*)$" />
			  </p><p>
			  <label>&amp;</label>
			  <select name="id_operate_2" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le" selected="selected">&lt;=</option>
			  </select>
			  <input name="id_2" type="text" style="width:150px;" maxlength="12" title="ID Number" allowed="\d||^(?:[1-9]\d*)$" />
			  </p>
			</div>
		  </div>
		  <!--div class="ss-accordion">
			<h3><a href="#">MD5</a></h3>
			<div>
			  <input name="md5" type="text" style="width:210px;" maxlength="32" title="MD5 String" allowed="[\da-f]||^(?:[\da-f]{32})?$" />
			</div>
		  </div-->
		  <div class="ss-accordion">
			<h3><a href="#">Rating</a></h3>
			<div>
			  <select name="rating_operate" title="Operate">
				<option value="none">none</option>
				<option value="eq">=</option>
				<option value="neq">!=</option>
			  </select>
			  <select name="rating" title="Rating">
			  	<option value="s">s (Safe)</option>
			  	<option value="q">q (Questionable)</option>
				<option value="e">e (Explicit)</option>
			  </select>
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">Score</a></h3>
			<div>
			  <p>
			  <select name="score_operate_1" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge" selected="selected">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le">&lt;=</option>
			  </select>
			  <input name="score_1" type="text" style="width:160px;" title="Number Value" allowed="\d||^(?:[1-9]\d*)$" />
			  </p><p>
			  <label>&amp;</label>
			  <select name="score_operate_2" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le" selected="selected">&lt;=</option>
			  </select>
			  <input name="score_2" type="text" style="width:150px;" title="Number Value" allowed="\d||^(?:[1-9]\d*)$" />
			  </p>
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">Has Children</a></h3>
			<div style="text-align:center;">
			  <input name="has_children" type="checkbox" value="true" title="true"/>
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">Parent ID</a></h3>
			<div>
			  <input name="parent_id" type="text" style="width:210px;" maxlength="12" title="ID Number" allowed="\d||^(?:[1-9]\d*)$" />
			</div>
		  </div>
		  <!--div class="ss-accordion">
			<h3><a href="#">Author</a></h3>
			<div>
			  <select name="author_operate" title="Operate">
				<option value="none">none</option>
				<option value="eq">=</option>
				<option value="like">like</option>
			  </select>
			  <input name="author" type="text" style="width:145px;" title="String Value" />
			</div>
		  </div-->
		  <div class="ss-accordion">
			<h3><a href="#">Tags</a></h3>
			<div>
				<h4>Include:</h4>
				<select name="tags_operate_1" title="Operate">
				  <!--option value="none">none</option-->
				  <option value="eq">=</option>
				  <option value="like">like</option>
				</select>
				<input name="tags_1" class="ss-tags" type="text" style="width:160px;" title="String Value" />
				<h4>Exclude:</h4>
				<select name="tags_operate_2" title="Operate">
				  <!--option value="none">none</option-->
				  <option value="neq">=</option>
				  <option value="nlike">like</option>
				</select>
				<input name="tags_2" class="ss-tags" type="text" style="width:160px;" title="String Value" />
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">Width</a></h3>
			<div>
			  <p>
			  <select name="width_operate_1" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge" selected="selected">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le">&lt;=</option>
			  </select>
			  <input name="width_1" type="text" style="width:160px;" title="Number Value" allowed="\d||^(?:[1-9]\d*)$" />
			  </p><p>
			  <label>&amp;</label>
			  <select name="width_operate_2" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le" selected="selected">&lt;=</option>
			  </select>
			  <input name="width_2" type="text" style="width:150px;" title="Number Value" allowed="\d||^(?:[1-9]\d*)$" />
			  </p>
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">Height</a></h3>
			<div>
			  <p>
			  <select name="height_operate_1" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge" selected="selected">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le">&lt;=</option>
			  </select>
			  <input name="height_1" type="text" style="width:160px;" title="Number Value" allowed="\d||^(?:[1-9]\d*)$" />
			  </p><p>
			  <label>&amp;</label>
			  <select name="height_operate_2" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le" selected="selected">&lt;=</option>
			  </select>
			  <input name="height_2" type="text" style="width:150px;" title="Number Value" allowed="\d||^(?:[1-9]\d*)$" />
			  </p>
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">File Size</a></h3>
			<div>
			  <p>
			  <select name="file_size_operate_1" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge" selected="selected">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le">&lt;=</option>
			  </select>
			  <input name="file_size_1" type="text" style="width:160px;" title="e.g. 1.5mb 765k, etc." allowed="[\dbkm.]||^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9])(?:[km]b?)?$" />
			  </p><p>
			  <label>&amp;</label>
			  <select name="file_size_operate_2" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le" selected="selected">&lt;=</option>
			  </select>
			  <input name="file_size_2" type="text" style="width:150px;" title="e.g. 1.5mb 765k, etc." allowed="[\dbkm.]||^(?:[1-9]\d*(?:\.\d+)?|0\.\d*[1-9])(?:[km]b?)?$" />
			  </p>
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">Aspect Ratio</a></h3>
			<div>
			  <p>
			  <select name="aspect_ratio_operate_1" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge" selected="selected">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le">&lt;=</option>
			  </select>
			  <input name="aspect_ratio_1" type="text" style="width:160px;" title="e.g. 16/9, etc." allowed="[0-9/]||^[1-9]\d*/[1-9]\d*$" />
			  </p><p>
			  <label>&amp;</label>
			  <select name="aspect_ratio_operate_2" title="Operate">
				<!--option value="none">none</option-->
				<option value="eq">=</option>
				<option value="neq">!=</option>
				<option value="gt">&gt;</option>
				<option value="ge">&gt;=</option>
				<option value="lt">&lt;</option>
				<option value="le" selected="selected">&lt;=</option>
			  </select>
			  <input name="aspect_ratio_2" type="text" style="width:150px;" title="e.g. 16/9, etc." allowed="[0-9/]||^[1-9]\d*/[1-9]\d*$" />
			  </p>
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">Order</a></h3>
			<div>
			  <select name="order_operate" title="Operate">
				<option value="none">none</option>
				<option value="asc">ascending</option>
				<option value="desc">descending</option>
			  </select>
			  <select name="order" title="Order">
				<option value="id">id</option>
				<option value="score" selected="selected">score</option>
				<option value="width">width</option>
				<option value="height">height</option>
				<option value="file_size">file size</option>
				<option value="aspect_ratio">aspect ratio</option>
			  </select>
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">SQL WHERE Expression</a></h3>
			<div style="text-align:center">
			   <textarea name="sql" style="width:210px;height:80px;" title="e.g. col_1=123 AND col_2 like 'abc', etc."></textarea>
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">Collect</a></h3>
			<div>
			  <label>Collect to:</label>
			  <select name="collect" title="Operate">
				<option value="none">none</option>
				<option value="list">list file</option>
				<option value="directory">collection directory</option>
			  </select>
			</div>
		  </div>
		  <div class="ss-accordion">
			<h3><a href="#">Pool</a></h3>
			<div>
			  <select name="pool_operate" title="Operate">
				<option value="id">id</option>
				<option value="name">name</option>
			  </select>
			  <input name="pool" type="text" style="width:145px;" />
			</div>
		  </div>
		  <input name="action" type="hidden" value="searchPosts" />
		</form>
	</div>
	<div id="tag">
		<ul id="tag-toggle">
			<li id="tags"><a href="javascript:void(0);" onclick="$('#tag>#tag-sidebar').toggleClass('hide');$('#tag>#tag-toggle>#tags>a').toggleClass('selected');" class="selected"><h5>Tags:</h5></a></li>
			<li id="filter"><a href="javascript:void(0);" onclick="$('#tag>#tag-filter').toggleClass('hide');$('#tag>#tag-toggle>#filter>a').toggleClass('selected');"></a></li>
		</ul>
		<ul id="tag-filter" class="hide">
			<li id="All"><a href="javascript:void(0);" onclick="moe.tagTab(99);" class="">All</a></li>
			<li id="General"><a href="javascript:void(0);" onclick="moe.tagTab(0);" class="">General</a></li>
			<li id="Artist"><a href="javascript:void(0);" onclick="moe.tagTab(1);" class="">Artist</a></li>
			<li id="Copyright"><a href="javascript:void(0);" onclick="moe.tagTab(3);" class="">Copyright</a></li>
			<li id="Character"><a href="javascript:void(0);" onclick="moe.tagTab(4);" class="">Character</a></li>
			<li id="Circle"><a href="javascript:void(0);" onclick="moe.tagTab(5);" class="">Circle</a></li>
			<li id="Faults"><a href="javascript:void(0);" onclick="moe.tagTab(6);" class="">Faults</a></li>
		</ul>
		<ul id="tag-sidebar">
		</ul>
	</div>
</div>
<div id="content">
	<div id="sidebar-slip">
		<div class="slip-button ui-state-default">
			<span class="ui-icon ui-icon-triangle-1-w"></span>
		</div>
	</div>
	<div id="content-inner">
		<div id="posts">
			<span class="init"></span>
			<!--Post-->
		</div>
		<div id="pagination">
			<!--Page-->
		</div>
	</div>
</div>
<div id="image-viewer">
	<div class="iv-info ui-corner-all">
		<!--info-->
	</div>
	<div class="iv-content">
		<!--img-->
	</div>
</div>
<div id="notice" class="ui-widget-overlay ui-corner-all">
	<a class="ui-corner-all ui-state-default" href="#"><span class="ui-icon ui-icon-closethick"></span></a>
	<div></div>
</div>
</body>
</html>
